From 72bd1c58592cdd031eacf9c614a370a7028f21fc Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Mon, 23 Nov 1998 12:29:03 +0000 Subject: [PATCH] make a saner default adjustment (from 0 to 100) instead. I'm not sure if * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner default adjustment (from 0 to 100) instead. I'm not sure if this is the correct level for the fix, but gtk_progress_bar_new()'s original default behavior is restored. -Yosh --- ChangeLog | 7 +++++++ ChangeLog.pre-2-0 | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-2 | 7 +++++++ ChangeLog.pre-2-4 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ gtk/gtkprogress.c | 2 +- 8 files changed, 50 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7f7b2c65fe..c59e0bef2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Nov 23 04:24:55 PST 1998 Manish Singh + + * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner + default adjustment (from 0 to 100) instead. I'm not sure if this + is the correct level for the fix, but gtk_progress_bar_new()'s + original default behavior is restored. + 1998-11-23 Martin Baulig * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 7f7b2c65fe..c59e0bef2c 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +Mon Nov 23 04:24:55 PST 1998 Manish Singh + + * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner + default adjustment (from 0 to 100) instead. I'm not sure if this + is the correct level for the fix, but gtk_progress_bar_new()'s + original default behavior is restored. + 1998-11-23 Martin Baulig * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 7f7b2c65fe..c59e0bef2c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Mon Nov 23 04:24:55 PST 1998 Manish Singh + + * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner + default adjustment (from 0 to 100) instead. I'm not sure if this + is the correct level for the fix, but gtk_progress_bar_new()'s + original default behavior is restored. + 1998-11-23 Martin Baulig * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 7f7b2c65fe..c59e0bef2c 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Mon Nov 23 04:24:55 PST 1998 Manish Singh + + * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner + default adjustment (from 0 to 100) instead. I'm not sure if this + is the correct level for the fix, but gtk_progress_bar_new()'s + original default behavior is restored. + 1998-11-23 Martin Baulig * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 7f7b2c65fe..c59e0bef2c 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Mon Nov 23 04:24:55 PST 1998 Manish Singh + + * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner + default adjustment (from 0 to 100) instead. I'm not sure if this + is the correct level for the fix, but gtk_progress_bar_new()'s + original default behavior is restored. + 1998-11-23 Martin Baulig * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 7f7b2c65fe..c59e0bef2c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Mon Nov 23 04:24:55 PST 1998 Manish Singh + + * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner + default adjustment (from 0 to 100) instead. I'm not sure if this + is the correct level for the fix, but gtk_progress_bar_new()'s + original default behavior is restored. + 1998-11-23 Martin Baulig * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 7f7b2c65fe..c59e0bef2c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Mon Nov 23 04:24:55 PST 1998 Manish Singh + + * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner + default adjustment (from 0 to 100) instead. I'm not sure if this + is the correct level for the fix, but gtk_progress_bar_new()'s + original default behavior is restored. + 1998-11-23 Martin Baulig * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c index 586d58b276..dd3b7a5e65 100644 --- a/gtk/gtkprogress.c +++ b/gtk/gtkprogress.c @@ -452,7 +452,7 @@ gtk_progress_set_adjustment (GtkProgress *progress, if (adjustment) g_return_if_fail (GTK_IS_ADJUSTMENT (adjustment)); else - adjustment = (GtkAdjustment*) gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL); + adjustment = (GtkAdjustment*) gtk_adjustment_new (0, 0, 100, 0, 0, 0); if (progress->adjustment != adjustment) { -- 2.30.2